package com.apptravel.dao;

import com.apptravel.entity.Hotel;

import java.util.Map;

public interface HotelDAO {
    int deleteById(Long id);

    void insert(Hotel record);


    Hotel selectById(Long id);


    int updateById(Hotel record);

    Page<Hotel> getList(Map<String, Object> params, int pageNo, int pageSize);

    int deleteByMap(Map<String, Object> params);

    int updateByMap(Map<String, Object> params);
}